import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

/** 引入ElementUI */
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

// 引入WangEditor富文本编辑器
import WEditor from 'wangeditor'
Vue.prototype.WEditor = WEditor

// 引入自定义api接口  供客户端发送ajax请求
import $api from './request/api/index'
Vue.prototype.$api = $api

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
